<%-- 
    Document   : ManageStudent
    Created on : Sep 20, 2012, 12:34:10 PM
    Author     : Admin
--%>

<%@page import="Controller.MyLib"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Danh sách sinh viên</title>
    </head>
    <body>
      
        <form action="Controller" method="post">
    
      <input type="hidden" name="requestAction" value="searchStudent">
         <h3>Tìm kiếm sinh viên</h3>
        <input type="text" name="txtSearch"  value=""/> 
        <select name="optionSearch">
            <option> Theo mã số sinh viên 
            <option> Theo tên sinh viên    
        </select>
         <input type="submit" class="submit"  value="Search" name ="btnSearch"/>
        <h1>Quản lí sinh viên</h1>
          <%
        String tb;
        request.setCharacterEncoding("utf-8");
        tb = MyLib.getParameter("tb", request);
        tb = tb.replace("#", "&");
        if (tb.equals("")) {
            response.sendRedirect("Controller?requestAction=showAllStudents");
        }
        %>
    <%=tb%>
        </form>
    </body>
</html>
